package com.lichen.dao;

import com.lichen.po.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author: lichen
 * @Date: 5/18/21 8:00 AM
 */

public interface UserRepository extends JpaRepository<User,Long> {

    User findByUsernameAndPassword(String username, String password);

}
